<template>
  <div class="bottom-container">
    <div class="bottom-title">{{ title }}</div>
    <!-- 这里可以添加车船实时动态的内容 -->
    <div class="content-area">
      <div class="content-left">
        <ship-component />
      </div>
      <div class="content-right">
        <vehicle-component />
      </div>
    </div>
  </div>
</template>

<script>
import ShipComponent from "./ship-component.vue";
import VehicleComponent from "./vehicle-component.vue";

export default {
  name: "BscBottomCard",
  components: {
    ShipComponent,
    VehicleComponent
  },
  props: {
    title: {
      type: String,
      required: true,
      default: "默认标题",
    },
  },
  data() {
    return {};
  },
  methods: {},
};
</script>

<style scoped lang="scss">
.bottom-container {
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  background: url("~@/assets/images/bom.png") left center / 100% 100% no-repeat;
  .bottom-title {
    position: absolute;
    top: 0px;
    font-size: 24px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    text-shadow: rgb(0, 117, 255) 0px 0px 8px;
    padding: 0px;
    position: absolute;
  }

  .content-area {
    width: 93%;
    height: calc(100% - 40px);
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    gap: 10px;

    .content-left,
    .content-right {
      width: 50%;
      height: 100%;
    }
  }
}
</style>
